Plug-in Title
"Mosaic_Lyle_Style"
menu="<Image>/Diego/Mosaic"

Update 
Version 1.2: source updated to G'MIC QT

Summary 
 Filter to create a new image simulating a MOSAIC Lyle Style
 (Roman style).

Author
- Diego Nassetti  

Versions supported
- Gimp 2.8.22 
- Python as included in Gimp

Dependencies (same as original release except for G'MIC version):
- Extrn Filters: (Gimp)     script_fu_mosaic_tile_helper by Rob Antonishen
                 (G'MIC_QT) fx_isophotes
						    fx_skeleton	
 
Platform(s) Supported
- All

Detailed Description

 Flow implemented to get the final result (same as original):      
 
1. Create the work image on the base of the size entered and the aspect ratio of the original image
 1a.Save this image having original colours (not stretched)
 2. Stretch the colours using an ancillary function (embedded)
 3. Add a Layer (duplicate BG) and run G'MIC Isophotes with coloured BG
 4. Add a Layer (duplicate BG) and run G'MIC Isophotes with transparent BG
    and filter to have only black or transparent pixels using an ancillary function (embedded)
 6. Add a Layer (duplicate of Transparent Isophotes), select the Transparent areas
    and run Gimp RobA Mosaic tile helper
 7. Create a work brush of 1 pixel with max specing (1000 which corresponds to 10 pixels)
 8. Add a layer (duplicate of RobA output), stroke both the Contour generated by Isophote
    and the Path generated by RobA
 9. Fill the empty space around the generated dots with White, remove the path and the selection,  
 10.Add a Layer (duplicate of the Dots layer) and run G'MIC Skeleton to create the tiles
 11.Duplicate the Isophotes contours layer above
 12.Create a new layer combining the whole grid
 13.Duplicate the Isophotes colours layer above (grain-merge)
 14.Duplicate it again (hard-light)
 15.Duplicate the BG layer above (screen): this will be either the original one or the stretched one
    according to the user choice
 16.Duplicate it again (same as above) 
 17.Analyze the BG Layer luminosity and set the top layer mode to:
    - screen if the image is very dark
    - burn if the image is very light
    - hard-light otherwise
 18.Upscale (double) the Work image, to generate the Final Outcome   
 19.Flatten the image is asked by the user
 
----------------------------------------------------------------------------------------
 
License
GNU General Public License as published by the Free Software Foundation
    either version 3 of the License, or (at your option) any later version.  

Website or Support Link URL
http:/www.gimpchat.com  

Author Name 
Diego Nassetti

Author Email
diego.nassetti@libero.it

================================================================================= 

